//
//  LRXMyHelpOrderModel.m
//  路人侠
//
//  Created by zhangxulong on 4/24/16.
//  Copyright © 2016 zhangxulong. All rights reserved.
//

#import "LRXMyHelpOrderModel.h"

@implementation LRXMyHelpOrderModel
- (instancetype)initMyHelpOrderWith:(NSDictionary *)orderDic
{
    if (self = [super init]) {
        self.additional_pay = orderDic[@"additional_pay"];
        
        self.helperManner_rank = orderDic[@"helper"][@"manner_rank"];
        self.helperProfile_url = orderDic[@"helper"][@"profile_url"];
        self.helperSexy = orderDic[@"helper"][@"sexy"];
        self.helperSpeed_rank = orderDic[@"helper"][@"speed_rank"];
        
        self.status = [orderDic[@"status"] integerValue];
        self.total_price = orderDic[@"total_price"];
    }
    return self;
}
+ (instancetype)myHelpOrderMdel:(NSDictionary *)orderDic
{
    return [[LRXMyHelpOrderModel alloc]initMyHelpOrderWith:orderDic];
}

@end
